package top.xia17.plugins.fast.user.model.req;

import lombok.Data;
import lombok.experimental.Accessors;

import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * @author xia17
 * @date 2022/3/9
 */
@Data
@Accessors(chain = true)
public class SetRoleUsersReq {


    /**
     * 角色ID
     */
    @NotNull(message = "角色ID不能为空")
    private Long id;

    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空")
    private List<Long> userIds;


}
